package Units;
import main.Unit;
import main.Player;
/**
 * the set up for the tank unit type
 * @author Bart
 *
 */
public class Tank extends Unit{
	static String[] tech = {"Tanks"};
	static int[] c = {100, 20, 10, 0, 0, 0, 0};
/**
 * base constructor
 * @param xpos
 * @param ypos
 * @param o player owner
 */
	public Tank(int xpos, int ypos, Player o){
		super(xpos, ypos, 44,44,15,o, 20);
		name="Tanks";
		setCost(c);
		if(o.getRes().getTree().checkIfComplete("MetalW"))
			this.setDamage(this.getDamage()+2);
	}
}
